package com.example.demo.controller;

import com.example.demo.entity.User;
import com.example.demo.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/user")
public class TestController {
    private UserService userService;
    public void login(String username, String pwd) {
    }

    public String add(String username, String pwd, Integer age) {
    }

    public List<User> getAllUser() {
    }

    public String deleterUser(String username) {
    }

    public String modifyUser(String username, String pwd, Integer age) {
    }
}
